package teaching.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data /*自动生成 set get toString方法*/
@NoArgsConstructor //自动生成无参构造函数
@TableName("questions")
public class Questions {
    @TableId(type = IdType.AUTO)
    private long id;
    private String content;
    private String option1;
    private String option2;
    private String option3;
    private String option4;
    private long pointId;
    private String answer;

}
